@import url("./publicStyle.less");

//重设empty组件样式
.custom-image {
  .van-empty__image {
    width: 200px;
    height: 200px;
    margin-top: 100px;
  }

  .van-empty__description {
    .PromptInfo();
    color: @ContentText;
  }
}

//重设list组件样式
.van-list__loading .van-loading__text,
.van-list__finished-text,
.van-list__error-text {
  .PromptInfo();
  color: @ContentText;
}

.van-list__finished-text,
.van-list__error-text {
  margin-top: 64px;
}

//重设Pagination组件样式
.van-pagination {
  margin: 20px 0;

  .van-pagination__item {
    color: @AssistTextA;
    background-color: @AssistBgWhite;
  }

  .van-pagination__item--active {
    color: @ContentTextWhite;
    background-color: @MainColor;
  }
}

// 设置资信智能搜索页面empty组件样式
.search-credit-info-container {
  .custom-image {
    .van-empty__image {
      width: 240px;
      height: 240px;
      margin-top: 120px;
    }
  }
}

//修改意见建议下拉菜单、输入框样式
.opinions-suggestions-container,
.legal-review-container {
  .targeting-issues{
    .van-dropdown-menu__bar {
      height: auto;
      background-color: transparent;
      box-shadow: none;
  
      .van-dropdown-menu__item {
        justify-content: flex-end;
  
        .van-dropdown-menu__title {
          font-size: 28px;
          color: @ContentText;
        }
      }
    }
  
    .van-cell {
      color: @ContentText;
    }
  
    .van-popup {
      background-color: transparent;
    }
  
    .van-popup--top {
      padding: 0 20px;
      box-sizing: border-box;
    }
  
    .van-overlay {
      background-color: transparent;
    }
  
    .van-dropdown-menu__title{
      .van-ellipsis {
        margin-right: 15px;
      }
    }
  
    .van-dropdown-menu__title::after {
      right: 0;
    }
  }

  .suggested-description{
    .van-cell{
      background-color: @ZebraCrossing;
    }
  }
}

//修改法律审核选项列表添加图片组件样式
.legal-review-container {
  .van-uploader__wrapper {
    justify-content: flex-end;

    .van-uploader__preview {
      margin: 0;

      .van-uploader__preview-image {
        width: 152px;
        height: 152px;
        margin: 0 16px 16px 0;
        border-radius: 16px;
      }

      .van-uploader__preview-delete {
        width: 40px;
        height: 40px;
        right: 8px;
        top: -10px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5);

        .van-uploader__preview-delete-icon {
          font-size: 52.5px;
          top: -6px;
          right: -6px;
        }
      }
    }
  }
}
